package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 中药饮片代码对象 ea_product_code
 * 
 * @author ruoyi
 * @date 2025-01-22
 */
public class EaProductCode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 中药饮片代码 */
    @Excel(name = "中药饮片代码")
    private String code;

    /** 中药饮片名称 */
    @Excel(name = "中药饮片名称")
    private String name;

    /** 药材名称 */
    @Excel(name = "药材名称")
    private String mName;

    /** 炮制方法 */
    @Excel(name = "炮制方法")
    private String processing;

    /** 功效分类 */
    @Excel(name = "功效分类")
    private String type;

    /** 药材科（族）来源 */
    @Excel(name = "药材科", readConverterExp = "族=")
    private String source;

    /** 药材种来源 */
    @Excel(name = "药材种来源")
    private String speciesOrigin;

    /** 药用部位 */
    @Excel(name = "药用部位")
    private String medicinalParts;

    /** 性味与归经 */
    @Excel(name = "性味与归经")
    private String propertyFlavor;

    /** 功能与主治 */
    @Excel(name = "功能与主治")
    private String effect;

    /** 用法与用量 */
    @Excel(name = "用法与用量")
    private String usages;

    /** 医保支付政策 */
    @Excel(name = "医保支付政策")
    private String policy;

    /** 标准名称 */
    @Excel(name = "标准名称")
    private String standard;

    /** 页码 */
    @Excel(name = "页码")
    private String page;

    /** 地区 */
    @Excel(name = "地区")
    private String area;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setmName(String mName) 
    {
        this.mName = mName;
    }

    public String getmName() 
    {
        return mName;
    }
    public void setProcessing(String processing) 
    {
        this.processing = processing;
    }

    public String getProcessing() 
    {
        return processing;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setSource(String source) 
    {
        this.source = source;
    }

    public String getSource() 
    {
        return source;
    }
    public void setSpeciesOrigin(String speciesOrigin) 
    {
        this.speciesOrigin = speciesOrigin;
    }

    public String getSpeciesOrigin() 
    {
        return speciesOrigin;
    }
    public void setMedicinalParts(String medicinalParts) 
    {
        this.medicinalParts = medicinalParts;
    }

    public String getMedicinalParts() 
    {
        return medicinalParts;
    }
    public void setPropertyFlavor(String propertyFlavor) 
    {
        this.propertyFlavor = propertyFlavor;
    }

    public String getPropertyFlavor() 
    {
        return propertyFlavor;
    }
    public void setEffect(String effect) 
    {
        this.effect = effect;
    }

    public String getEffect() 
    {
        return effect;
    }
    public void setUsages(String usage)
    {
        this.usages = usage;
    }

    public String getUsages()
    {
        return usages;
    }
    public void setPolicy(String policy) 
    {
        this.policy = policy;
    }

    public String getPolicy() 
    {
        return policy;
    }
    public void setStandard(String standard) 
    {
        this.standard = standard;
    }

    public String getStandard() 
    {
        return standard;
    }
    public void setPage(String page) 
    {
        this.page = page;
    }

    public String getPage() 
    {
        return page;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("mName", getmName())
            .append("processing", getProcessing())
            .append("type", getType())
            .append("source", getSource())
            .append("speciesOrigin", getSpeciesOrigin())
            .append("medicinalParts", getMedicinalParts())
            .append("propertyFlavor", getPropertyFlavor())
            .append("effect", getEffect())
            .append("usage", getUsages())
            .append("policy", getPolicy())
            .append("standard", getStandard())
            .append("page", getPage())
            .append("area", getArea())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
